package com.cdp.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cdp.common.core.domain.entity.PlatformVisit;
import com.cdp.system.mapper.PlatformVisitMapper;
import com.cdp.system.service.PlatformVisitService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PlatformVisitServiceImpl extends ServiceImpl<PlatformVisitMapper, PlatformVisit> implements PlatformVisitService {

    @Autowired
    private PlatformVisitMapper platformVisitMapper;
    @Override
    public int getRealTimeVisitCount() {
        return platformVisitMapper.getRealTimeVisitCount();
    }
}
